package com.kingyun.gpsinspection.purificationservice.dao.mapper.som;

import com.kingyun.gpsinspection.purificationservice.facade.model.som.AnalysisStatement;

import java.util.List;
import java.util.Map;

/**
 * Created by yangcs on 2017/10/27.
 */
public interface AnalysisStatementMapper {

    List<AnalysisStatement> queryAnalysisCell(Map map);

    List<AnalysisStatement> queryAnalysisName(Map map);

    List<AnalysisStatement> queryAnalysisResult(Map map);

    List<AnalysisStatement> queryPerAnalysisCell(Map map);

    List<AnalysisStatement> queryPerAnalysisName(Map map);

    AnalysisStatement queryPerAnalysisCount(Map map);

    List<AnalysisStatement> queryMonthResult(Map map);

    AnalysisStatement queryMonthMaxMinAvg(Map map);

    List<AnalysisStatement> queryCompareResult(Map map);

    AnalysisStatement queryByAs(AnalysisStatement analysisStatement);

    int insertAs(Map map);

    int updateAs(Map map);
}
